package com.videoweb.ying.service;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.plugins.Page;
import com.videoweb.base.BaseService;
import com.videoweb.ying.dao.TStarMapper;
import com.videoweb.ying.po.TStar;


@Service("tStarService")
public class TStarService extends BaseService<TStar> {
	
	
	public Page<Map<String, Object>> selectListPage(Map<String, Object> paramMap){
        Page<Map<String, Object>> page = getPageMap(paramMap);
        page.setRecords(((TStarMapper)mapper).selectListPage(page, paramMap));
        return page;
	}
	
	public List<Map<String,Object>> getStarList()
	{
		return ((TStarMapper)mapper).getStarList();
	}
	/**
	 * 获取明星信息
	 * @param params
	 * @return
	 */
	public Map<String,Object> getStarInfoByVideo(Map<String,Object> params)
	{
		return ((TStarMapper)mapper).getStarInfoByVideo(params);
	}
}